/**
 * Created by CZ on 2017/4/21.
 */
module.exports = function ($scope,$state,RequestService,commonConfig) {
    //获取当前用户信息 (value = "审批状态", notes = "默认0，未审批为0，审批通过为1，审批不通过为-1")
    $scope.getPassList = function(){
        RequestService.Request(commonConfig.cloudApi+'cloud/tenant/getTenantListByStatus?status=1','GET').then(function(response){
            console.log(response);
            $scope.PassList = response;
        },function(error){
            console.log(error);
        });
    };
    $scope.getPassList();


};